.site-portrait-bg {
	background: var(--color-bg-3);
}
.p0 {
	padding: 0 !important;
}
.no-padding {
	margin: 0 !important;
	padding: 0 !important;
	.content {
		height: 36rem;
	}
}

.site-portrait {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1rem 1.5rem;
	overflow-y: auto !important;

	.title {
		user-select: none;
	}

	.site-portrait-content {
		margin-top: 1rem;
		padding: 0.5rem 1rem 1rem;
		background: var(--color-bg-0);
	}

	.header-toolbox {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: 0.5rem;

		.domain-select {
			width: 18em;
			margin-right: 1rem;
		}
		.patch-select {
			width: 15em;
		}
	}

	.stats {
		display: flex;
		flex-wrap: wrap;
		margin: -0.5rem;
		margin-bottom: 1.5rem;

		.stats-block {
			display: flex;
			flex: 1;
			justify-content: space-around;
			height: 9rem;
			margin: 0.5rem;
			padding: 1rem;
			border: 1px solid var(--color-border-3);
			border-radius: 4px;
		}
	}

	.help-icon {
		position: relative;
		top: 0.5rem;
		width: 0.75rem;
		margin-left: 0.5rem;
		color: var(--color-text-2);
		cursor: pointer;
	}

	.label-detail {
		margin-bottom: 1.5rem;
		user-select: none;

		&::before {
			background: var(--color-primary);
		}
	}

	.label-overview {
		&::before {
			background: var(--color-primary);
		}
	}

	.content {
		position: relative;
		display: flex;
		flex: 1;
		flex-direction: column;
		min-height: 36rem;
		overflow: hidden;
		border: 1px solid var(--color-border-2);
		border-radius: 4px;

		.title {
			height: 3rem;
			padding: 0 1.5rem;
			line-height: 3rem;
			background: var(--color-bg-2);
			border-bottom: 1px solid var(--color-border-2);
		}

		.vis {
			flex: 1;
			padding: 1.5rem;
			overflow: hidden;
		}

		.change-history {
			position: absolute;
			top: 0;
			right: 0;
			bottom: 0;
			min-width: 14rem;
			overflow-y: auto;
		}
	}
}
